//
//  Usermessage.h
//  TengyunStation
//
//  Created by Johnny on 15/8/25.
//  Copyright (c) 2015年 xingrong. All rights reserved.
//

#import "CacheModel.h"

@interface Usermessage : CacheModel

//个人信息
@property(nonatomic,strong)NSString *telephone;
@property(nonatomic,strong)NSString *userId;
@property(nonatomic,strong)NSString *userName;
@property(nonatomic,assign)int sex;
@property(nonatomic,assign)float allWithdraw;//可提现金额
@property(nonatomic,assign)float personalGrade;//个人评分
@property(nonatomic,strong)NSString *registerTime;//注册时间
@property(nonatomic,assign)float frozenMoney;//冻结金额
@property(nonatomic,assign)float margin;//保证金
@property(nonatomic,strong)NSString *pwdUpdateTime;//密码更新时间
@property(nonatomic,assign)float surplusMoney;//剩余金额
@property(nonatomic,assign)int messageCount;
//站点信息
@property(nonatomic,strong)NSString *websiteId;
@property(nonatomic,strong)NSString *websiteName;
@property(nonatomic,strong)NSString *websiteQcode;//站点二维码
@property(nonatomic,strong)NSString *websiteCode;//站点规则编号
@property(nonatomic,assign)BOOL websiteIsSend;//站点是否开通上门服务功能
@property(nonatomic,assign)float websiteGrade;//站点星级
@property(nonatomic,assign)BOOL zitiIsSend;//自提权限是否开通

- (id)initWithData:(NSData *)data Telephone:(NSString *)telephone;

- (void)usermessageSaveOrUpdate;

@end
